#ifndef KEYRING_HH_
# define KEYRING_HH_

# include "stl.h"

/** used to store keys (and only keys)
 ** we consider that a key does not have weight nor size
 ** a keyring cd be attach at a belt or jean if not exists
 */

class Keyring
{
public:
  Keyring();

  Keyring(std::string model);

  // cd remove the model from RAM, we should not need it anymore... for now
  ~Keyring();

  void show();

  /** uses one of the key
   ** \return false if the key was not used (wrong door)
   ** using a key can break it
   */
  bool use();


private:
  unsigned int _nbKeys;
  std::list<Keys> keysList;
  Model3D _model; // cd use a snap [fr: mousqueton]
};

#endif /* !KEYRING_HH_ */
